<%@ page contentType="text/html;charset=UTF-8"%>
<%@taglib prefix="t" tagdir="/WEB-INF/tags"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>


<t:template>

	<jsp:attribute name="http_header">
		<title>Đặt phòng cho khách lẻ - iHMP DanaTours</title>		
		<%@include file="/WEB-INF/views/includes/http-header.jsp"%>	
	</jsp:attribute>

	<jsp:attribute name="header">
		<%@include file="/WEB-INF/views/includes/header.jsp"%>	
	</jsp:attribute>

	<jsp:attribute name="left_content">
		<%@include file="/WEB-INF/views/includes/left-menu.jsp"%>	
	</jsp:attribute>

	<jsp:attribute name="right_content">
		<h2>ĐẶT PHÒNG CHO KHÁCH LẺ</h2>
		
		<div class="search-room"
			style="padding: 5px; background-color: #EEEBE1;">
			<table>
				<tr>
					<td style="width: 100px;">
						Khách sạn
					</td>
				<td style="width: 150px">
				
                    
                    <select id="hotel" name="hotelId"
						style="width: 140px; padding: 2px; outline: none; -webkit-border-radius: 3px; border: 1px solid #dcdcdc; background-color: #f1fafe;">
							
							<option selected="selected"></option>
								<c:forEach var="item" items="${hotels}">  
							      	<option value="${item.hotelId}">${item.hotelName}</option>
							        
							</c:forEach>
							
						</select> 	
					</td>
					<td style="width: 100px;">
						Tầng
					</td>
					<td style="width: 150px">
						<select id="floor" name="floor"
						style="width: 140px; padding: 2px; outline: none; -webkit-border-radius: 3px; border: 1px solid #dcdcdc; background-color: #f1fafe;">
						<option selected="selected"></option>
							
						</select>
					</td>
					<td style="width: 100px;">
						Block
					</td>
					<td style="width: 150px">
						<select id="block" name="block"
						style="width: 140px; padding: 2px; outline: none; -webkit-border-radius: 3px; border: 1px solid #dcdcdc; background-color: #f1fafe;">
							<option selected="selected"></option>
													
						</select>
					</td>					
				</tr>
				<tr>
					<td style="width: 100px;">
						Loại phòng
					</td>
					<td style="width: 150px">
					  <select name="roomtype" id="roomtype"
						style="width: 140px; padding: 2px; outline: none; -webkit-border-radius: 3px; border: 1px solid #dcdcdc; background-color: #f1fafe;">
							<!--<option selected="selected"></option>
							<option value="2">DELUXE</option>
							<option value="4">FOURBED</option>
							<option value="1">SINGLE</option>
							<option value="3">FAMILY</option>
							<option value="5">VIP</option>-->
						</select> 
					</td>
					<td style="width: 100px;">
						Từ ngày
					</td>
					<td style="width: 150px">
						<input type="text"
						style="width: 140px; padding: 2px; outline: none; -webkit-border-radius: 3px; border: 1px solid #dcdcdc; background-color: #f1fafe; text-align: right;" />
					</td>
					<td style="width: 100px;">
						Đến ngày
					</td>
					<td style="width: 150px">
						<input type="text"
						style="width: 140px; padding: 2px; outline: none; -webkit-border-radius: 3px; border: 1px solid #dcdcdc; background-color: #f1fafe; text-align: right;" />
					</td>					
				</tr>
				<tr>
					<td style="width: 100px;">
						Giá từ
					</td>
					<td style="width: 150px">
						<input type="text"
						style="width: 140px; padding: 2px; outline: none; -webkit-border-radius: 3px; border: 1px solid #dcdcdc; background-color: #f1fafe; text-align: right;" />
					</td>
					<td style="width: 100px;">
						Giá đến
					</td>
					<td style="width: 150px">
						<input type="text"
						style="width: 140px; padding: 2px; outline: none; -webkit-border-radius: 3px; border: 1px solid #dcdcdc; background-color: #f1fafe; text-align: right;" />
					</td>
					<td style="width: 100px;">
						Tiền tệ
					</td>
					<td style="width: 150px">
						<select
						style="width: 140px; padding: 2px; outline: none; -webkit-border-radius: 3px; border: 1px solid #dcdcdc; background-color: #f1fafe;">
							<option selected="selected"></option>
							<option>VND</option>
							<option>USD</option>												
						</select>
					</td>
				</tr>
			</table>
			<div>
				<a href="javascript:void"
					style="text-decoration: none; display: inline-block; padding: 5px; background-color: #3b5998; color: white; -webkit-border-radius: 3px; width: 90px; float: left;">LẤY DANH SÁCH</a>
				<div style="padding: 5px; float: left; color: gray;">
					Kết quả tìm kiếm lúc 08:32 thu về danh sách 27 phòng được liệt kê bên dưới.
				</div>
				<div class="clear-left"></div>
			</div>
		</div>
		
		
		<div style="margin-top: 5px;">
			<div class="room-item left"
				style="padding: 5px; width: 95px; height: 60px; background-color: #3b5998; color: white; margin-top: 5px;">
				<h2
					style="font-size: 20px; color: white; font-weight: bold; margin: 0; padding: 0;">103</h2>
				<div>
					<span style="font-size: 15px; font-weight: bold;">DELUXE</span>
				</div>
				<div>
					<span style="font-size: 12px; font-weight: bold;">VND 500.000</span>
				</div>
				<div style="margin-top: 3px;">
					<span style="font-size: 12px; font-weight: bold;">KS.Đà Nẵng</span>
				</div>
			</div>
			<div class="room-item left"
				style="padding: 5px; width: 95px; height: 60px; background-color: #3b5998; color: white; margin-left: 5px; margin-top: 5px;">
				<h2
					style="font-size: 20px; color: white; font-weight: bold; margin: 0; padding: 0;">104</h2>
				<div>
					<span style="font-size: 15px; font-weight: bold;">DELUXE</span>
				</div>
				<div>
					<span style="font-size: 12px; font-weight: bold;">VND 500.000</span>
				</div>
				<div style="margin-top: 3px;">
					<span style="font-size: 12px; font-weight: bold;">KS.Đà Nẵng</span>
				</div>
			</div>
			<div class="room-item left"
				style="padding: 5px; width: 95px; height: 60px; background-color: yellow; color: gray; margin-left: 5px; margin-top: 5px;">
				<h2
					style="font-size: 20px; color: gray; font-weight: bold; margin: 0; padding: 0;">107</h2>
				<div>
					<span style="font-size: 15px; font-weight: bold;">DELUXE</span>
				</div>
				<div>
					<span style="font-size: 12px; font-weight: bold;">VND 500.000</span>
				</div>
				<div style="margin-top: 3px;">
					<span style="font-size: 12px; font-weight: bold;">KS.Đà Nẵng</span>
				</div>
			</div>
			<div class="room-item left"
				style="padding: 5px; width: 95px; height: 60px; background-color: #3b5998; color: white; margin-left: 5px; margin-top: 5px;">
				<h2
					style="font-size: 20px; color: white; font-weight: bold; margin: 0; padding: 0;">108</h2>
				<div>
					<span style="font-size: 15px; font-weight: bold;">DELUXE</span>
				</div>
				<div>
					<span style="font-size: 12px; font-weight: bold;">VND 500.000</span>
				</div>
				<div style="margin-top: 3px;">
					<span style="font-size: 12px; font-weight: bold;">KS.Đà Nẵng</span>
				</div>
			</div>
			<div class="room-item left"
				style="padding: 5px; width: 95px; height: 60px; background-color: yellow; color: gray; margin-left: 5px; margin-top: 5px;">
				<h2
					style="font-size: 20px; color: gray; font-weight: bold; margin: 0; padding: 0;">121</h2>
				<div>
					<span style="font-size: 15px; font-weight: bold;">DELUXE</span>
				</div>
				<div>
					<span style="font-size: 12px; font-weight: bold;">VND 500.000</span>
				</div>
				<div style="margin-top: 3px;">
					<span style="font-size: 12px; font-weight: bold;">KS.Đà Nẵng</span>
				</div>
			</div>
			<div class="room-item left"
				style="padding: 5px; width: 95px; height: 60px; background-color: yellow; color: gray; margin-left: 5px; margin-top: 5px;">
				<h2
					style="font-size: 20px; color: gray; font-weight: bold; margin: 0; padding: 0;">123</h2>
				<div>
					<span style="font-size: 15px; font-weight: bold;">DELUXE</span>
				</div>
				<div>
					<span style="font-size: 12px; font-weight: bold;">VND 500.000</span>
				</div>
				<div style="margin-top: 3px;">
					<span style="font-size: 12px; font-weight: bold;">KS.Đà Nẵng</span>
				</div>
			</div>
			<div class="room-item left"
				style="padding: 5px; width: 95px; height: 60px; background-color: yellow; color: gray; margin-left: 5px; margin-top: 5px;">
				<h2
					style="font-size: 20px; color: gray; font-weight: bold; margin: 0; padding: 0;">125</h2>
				<div>
					<span style="font-size: 15px; font-weight: bold;">DELUXE</span>
				</div>
				<div>
					<span style="font-size: 12px; font-weight: bold;">VND 500.000</span>
				</div>
				<div style="margin-top: 3px;">
					<span style="font-size: 12px; font-weight: bold;">KS.Đà Nẵng</span>
				</div>
			</div>
			<div class="room-item left"
				style="padding: 5px; width: 95px; height: 60px; background-color: yellow; color: gray; margin-top: 5px;">
				<h2
					style="font-size: 20px; color: gray; font-weight: bold; margin: 0; padding: 0;">126</h2>
				<div>
					<span style="font-size: 15px; font-weight: bold;">DELUXE</span>
				</div>
				<div>
					<span style="font-size: 12px; font-weight: bold;">VND 500.000</span>
				</div>
				<div style="margin-top: 3px;">
					<span style="font-size: 12px; font-weight: bold;">KS.Đà Nẵng</span>
				</div>
			</div>
			<div class="room-item left"
				style="padding: 5px; width: 95px; height: 60px; background-color: yellow; color: gray; margin-left: 5px; margin-top: 5px;">
				<h2
					style="font-size: 20px; color: gray; font-weight: bold; margin: 0; padding: 0;">127</h2>
				<div>
					<span style="font-size: 15px; font-weight: bold;">DELUXE</span>
				</div>
				<div>
					<span style="font-size: 12px; font-weight: bold;">VND 500.000</span>
				</div>
				<div style="margin-top: 3px;">
					<span style="font-size: 12px; font-weight: bold;">KS.Đà Nẵng</span>
				</div>
			</div>
			<div class="room-item left"
				style="padding: 5px; width: 95px; height: 60px; background-color: yellow; color: gray; margin-left: 5px; margin-top: 5px;">
				<h2
					style="font-size: 20px; color: gray; font-weight: bold; margin: 0; padding: 0;">132</h2>
				<div>
					<span style="font-size: 15px; font-weight: bold;">DELUXE</span>
				</div>
				<div>
					<span style="font-size: 12px; font-weight: bold;">VND 500.000</span>
				</div>
				<div style="margin-top: 3px;">
					<span style="font-size: 12px; font-weight: bold;">KS.Đà Nẵng</span>
				</div>
			</div>
			<div class="clear-left"></div>
		</div>
		
		<div
			style="margin-top: 20px; padding: 5px; background-color: #EEEBE1;">
			<h2 style="font-size: 11px; font-weight: bold; margin: 0; padding: 0">PHIẾU ĐẶT PHÒNG (THAY ĐỔI PHIẾU ĐẶT PHÒNG CŨ: PHÒNG 103)</h2>
			<table style="margin-top: 5px;">
				<tr>
					<td style="width: 150px;">Số điện thoại</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Họ và tên</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Quốc tịch</td>
					<td>
						<select
						style="padding: 2px; width: 150px; -webkit-border-radius: 3px; border: 1px solid #dcdcdc; background-color: #f1fafe; outline: none;">
							<option selected="selected"></option>
							<option>Vietnam</option>
							<option>United State of America</option>
							<option>United of Kingdom</option>
							<option>Thailand</option>
						</select>
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">CMND/hộ chiếu</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Khách sạn</td>
					<td>
						<select
						style="padding: 2px; width: 150px; -webkit-border-radius: 3px; border: 1px solid #dcdcdc; background-color: #f1fafe; outline: none;">
							<option selected="selected"></option>
							<option>Khách sạn Đà Nẵng</option>
							<option>Khách sạn Thanh Thanh</option>
							<option>Khách sạn Hải Vân</option>
							<option>Khách sạn Thanh Long</option>
						</select>
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Mã phòng</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Số người lưu trú</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Giá đã báo</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; text-align: right; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />
						<span style="margin-left: 5px"> VND </span>
						<span style="margin-left: 10px;">(Giá mặc định : VND 500.000)</span>
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Ngày khách đến</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Giờ khách đến</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Ngày khách đi</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Giờ khách đi</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Ngày đặt phòng</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />						
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">Thời gian giữ phòng</td>
					<td>
						<input type="text"
						style="width: 150px; padding: 2px; outline: none; background-color: #f1fafe; border: 1px solid #dcdcdc; -webkit-border-radius: 3px;" />
						<span style="margin-left: 10px">(Số giờ tính từ thời điểm đặt phòng)</span>
					</td>
				</tr>
				<tr>
					<td style="width: 150px;">&nbsp;</td>
					<td>
						<a href="javascript:void"
						style="text-decoration: none; display: inline-block; padding: 5px; background-color: #3b5998; color: white; -webkit-border-radius: 3px; float: left;">LÀM MỚI</a>
						<a href="javascript:void"
						style="text-decoration: none; display: inline-block; padding: 5px; background-color: #3b5998; color: white; -webkit-border-radius: 3px; float: left; margin-left: 5px;">LƯU</a>
					</td>
				</tr>
			</table>
		</div>
		
		<div style="margin-top: 20px; padding: 5px;">
			<h2 style="font-size: 11px; font-weight: bold; margin: 0; padding: 0">CHI TIẾT PHÒNG ĐÃ ĐẶT THEO THÁNG</h2>
			<div style="margin-top: 5px;">
				<table>
					<tr>
						<td style="padding: 5px;">Tháng</td>
						<td style="padding: 5px;">
							<select
							style="padding: 2px; width: 100px; -webkit-border-radius: 3px; background-color: #f1fafe; border: 1px solid #dcdcdc; outline: none;">
								<option>08/2013</option>
								<option>09/2013</option>
								<option>10/2013</option>
								<option>11/2013</option>
								<option>12/2013</option>
							</select>
						</td>						
					</tr>
					<tr>
						<td style="padding: 5px;" colspan="2">
							<a href="javascript:void"
							style="text-decoration: none; display: inline-block; padding: 5px; background-color: #3b5998; color: white; -webkit-border-radius: 3px; float: left;">LẤY DỮ LIỆU</a>
						</td>
					</tr>
				</table>
			</div>
			<table style="margin-top: 5px; margin-bottom: 20px;">
				<tr>
					<td
						style="padding: 5px; border: 1px solid gray; font-weight: bold;">STT</td>
					<td
						style="padding: 5px; border: 1px solid gray; font-weight: bold;">Mã phòng</td>
					<td
						style="padding: 5px; border: 1px solid gray; font-weight: bold;">Loại phòng</td>
					<td
						style="padding: 5px; border: 1px solid gray; font-weight: bold; width: 50px;">Số người lưu trú</td>
					<td
						style="padding: 5px; border: 1px solid gray; font-weight: bold;">Giá báo</td>
					<td
						style="padding: 5px; border: 1px solid gray; font-weight: bold;">Ngày khách đến</td>
					<td
						style="padding: 5px; border: 1px solid gray; font-weight: bold;">Ngày khách đi</td>
					<td
						style="padding: 5px; border: 1px solid gray; font-weight: bold; width: 50px;">Số ngày lưu trú</td>
					<td
						style="padding: 5px; border: 1px solid gray; font-weight: bold;">Họ tên</td>
					<td
						style="padding: 5px; border: 1px solid gray; font-weight: bold;">CMND/Hộ chiếu</td>
					<td
						style="padding: 5px; border: 1px solid gray; font-weight: bold;">Thao tác</td>
				</tr>
				<tr>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">1</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">112</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">DELUXE</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">1</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">VND 500.000</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">28/10/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">01/11/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">6</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">Lê Khắc Việt</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">201531569</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">
						<a href="#" style="text-decoration: none; color: #3b5998;">Sửa</a> |
						<a href="#" style="text-decoration: none; color: #3b5998;">Xóa</a>
					</td>
				</tr>
				<tr>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">2</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">114</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">DELUXE</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">2</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">VND 500.000</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">28/10/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">29/11/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">2</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">Lê Linh Đan</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">201531569</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">
						<a href="#" style="text-decoration: none; color: #3b5998;">Sửa</a> |
						<a href="#" style="text-decoration: none; color: #3b5998;">Xóa</a>
					</td>
				</tr>
				<tr>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">3</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">112</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">DELUXE</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">1</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">VND 500.000</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">28/10/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">01/11/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">6</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">Lê Khắc Việt</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">201531569</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">
						<a href="#" style="text-decoration: none; color: #3b5998;">Sửa</a> |
						<a href="#" style="text-decoration: none; color: #3b5998;">Xóa</a>
					</td>
				</tr>
				<tr>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">4</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">114</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">DELUXE</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">2</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">VND 500.000</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">28/10/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">29/11/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">2</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">Lê Linh Đan</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">201531569</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">
						<a href="#" style="text-decoration: none; color: #3b5998;">Sửa</a> |
						<a href="#" style="text-decoration: none; color: #3b5998;">Xóa</a>
					</td>
				</tr>
				<tr>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">5</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">112</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">DELUXE</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">1</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">VND 500.000</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">28/10/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">01/11/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">6</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">Lê Khắc Việt</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">201531569</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">
						<a href="#" style="text-decoration: none; color: #3b5998;">Sửa</a> |
						<a href="#" style="text-decoration: none; color: #3b5998;">Xóa</a>
					</td>
				</tr>
				<tr>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">6</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">114</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">DELUXE</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">2</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">VND 500.000</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">28/10/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">29/11/2013</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white; width: 50px;">2</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">Lê Linh Đan</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">201531569</td>
					<td
						style="padding: 5px; border: 1px solid gray; background-color: white;">
						<a href="#" style="text-decoration: none; color: #3b5998;">Sửa</a> |
						<a href="#" style="text-decoration: none; color: #3b5998;">Xóa</a>
					</td>
				</tr>
			</table>
		</div>
	</jsp:attribute>

	<jsp:attribute name="footer">
	
		<%@include file="/WEB-INF/views/includes/footer.jsp"%>
		
		
			<script type="text/javascript">
    $(function(){
            
		$("#hotel").click(function() {

			$.ajax({
				type : "POST",
				url : "${pageContext.request.contextPath}/accommodation/get-roomtype-in-hotel.html",
				data : "hotelId=" + $("#hotel").val() ,
				success : function(response) {
					// we have the response
					$('#roomtype').html(response);
				},
				error : function(e) {
					alert('Error: ' + e);
				}
			});
			
			
			$.ajax({
				type : "POST",
				url : "${pageContext.request.contextPath}/accommodation/get-floors-in-hotel.html",
				data : "hotelId=" + $("#hotel").val() ,
				success : function(response) {
					// we have the response
					$('#floor').html(response);
				},
				error : function(e) {
					alert('Error: ' + e);
				}
			});
			
			
			$.ajax({
				type : "POST",
				url : "${pageContext.request.contextPath}/accommodation/get-blocks-in-hotel.html",
				data : "hotelId=" + $("#hotel").val() ,
				success : function(response) {
					// we have the response
					$('#block').html(response);
				},
				error : function(e) {
					alert('Error: ' + e);
				}
			});
			
		})

	})
</script>
		
	</jsp:attribute>
	

	
	
</t:template>
